<template>
  <view class="page-body">
    <view class="page-section page-section-gap">
      <web-view :src="url"></web-view>
    </view>
  </view>
</template>

<script>
import { Current } from '@tarojs/taro';
export default {
  name: 'index',
  data() {
    return {
      hxyew: [],
      indicatorDots: true,
      vertical: false,
      autoplay: false,
      url: '',
    };
  },
  mounted() {
    const { url = '' } = Current.router.params;
    this.url = decodeURIComponent(url);
     console.log(decodeURIComponent(url),'传过来的值')
  },
  methods: {},
};
</script>

<style  scoped>
page {
  word-break: break-all;
  word-wrap: break-word;
  height: 100%;
}

.pro-zs {
  width: 100%;
  float: left;
  padding: 10px 10px;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}
.pro-zs span {
  word-break: break-all;
  word-wrap: break-word;
}

.pro-zs text {
  padding: 10px;
}

.page-body {
  width: 100%;
  height: 100%;
}
</style>